package com.itheima.project_cloth.service;

import com.itheima.project_cloth.pojo.OrderConsumer;

import java.time.LocalDateTime;
import java.util.List;

public interface OrderConsumerService {
    List<OrderConsumer> SelectOrderConsumerByTime(LocalDateTime time,String phoneNumber, String address, String price);

    void InsertOrderConsumer(OrderConsumer orderConsumer);


    void DeleteOrderConsumerById(List<Integer> ids);


    OrderConsumer UpdateOrderConsumerByIdselect(Integer id);

    void UpdateOrderConsumerById(OrderConsumer orderConsumer);

    OrderConsumer SelectOrderConsumerByName(String name);


    List<OrderConsumer> SelectOrderConsumerByConsumer(Integer consumerId);

    List<OrderConsumer> SelectOrderConsumerByAddress(String address);

    OrderConsumer select(String name);

    void update(OrderConsumer orderConsumer);
}
